package com.ikun.admin.websocket.constant;

/**
 * @ClassName WebSocketConstant
 * @Description:
 * @CreateDate: 2024/9/6 16:44
 */
public class WebSocketConstant {
    public static final String WEBSOCKET_URL = "/ikun-ws";

    public static final String ONLINE_USER_KEY = "online_user:";

    public static final Integer MAX_TEXT_SIZE = 1024*100;

    public static final Integer MAX_BINARY_SIZE = 1024*1024*6;

    public static final Long MAX_SESSION_FREE_TIME = 60*1000L*5;

    public static final Integer MESSAGE_TYPE_SYS = 0;

    public static final Integer MESSAGE_TYPE_USER = 1;
}
